import {
    createBrowserRouter,
} from "react-router-dom";
import Cindex from "../view/client/index"
import App from "../App";
import Index from "../view/login/index"

const router = createBrowserRouter([
    {
        path: "/",
        element: <App/>,
        children: [
            {
                index: true,
                element: <Cindex/>
            },
            {
                path: 'login',
                element: <Index/>
            }
        ]
    },
]);

export default router;